package com.ruoyi.locate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓位网格对象 w_warehouse_map_grid
 * 
 * @author ruoyi
 * @date 2025-01-06 17:39:13
 */
public class WWarehouseMapGrid extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private Long gridId;

    /** 父ID */
    @Excel(name = "父ID")
    private Long parentId;

    /** 库位信息 */
    @Excel(name = "库位信息")
    private String warehouseTotalLocate;

    /** 园区信息 */
    @Excel(name = "园区信息")
    private String logisticsParkName;

    /** 仓位信息 */
    @Excel(name = "仓位信息")
    private String warehouseLocateName;

    /** 网格宽 */
    @Excel(name = "网格宽")
    private Integer cellWidth;

    /** 网格高 */
    @Excel(name = "网格高")
    private Integer cellHeight;

    /** 层 */
    @Excel(name = "层")
    private Integer layer;

    /** x1坐标 */
    @Excel(name = "x1坐标")
    private Integer x1;

    /** y1坐标 */
    @Excel(name = "y1坐标")
    private Integer y1;

    /** x2坐标 */
    @Excel(name = "x2坐标")
    private Integer x2;

    /** y2坐标 */
    @Excel(name = "y2坐标")
    private Integer y2;

    /** 轮廓颜色 */
    @Excel(name = "轮廓颜色")
    private String stroke;

    /** 轮廓线宽 */
    @Excel(name = "轮廓线宽")
    private Integer strokeWidth;

    /** 虚线阵列 */
    @Excel(name = "虚线阵列")
    private String strokeDasharray;

    /** 删除标识 （0代表存在 2代表删除） */
    private String delFlag;

    public void setGridId(Long gridId) 
    {
        this.gridId = gridId;
    }

    public Long getGridId() 
    {
        return gridId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setWarehouseTotalLocate(String warehouseTotalLocate) 
    {
        this.warehouseTotalLocate = warehouseTotalLocate;
    }

    public String getWarehouseTotalLocate() 
    {
        return warehouseTotalLocate;
    }
    public void setLogisticsParkName(String logisticsParkName) 
    {
        this.logisticsParkName = logisticsParkName;
    }

    public String getLogisticsParkName() 
    {
        return logisticsParkName;
    }
    public void setWarehouseLocateName(String warehouseLocateName) 
    {
        this.warehouseLocateName = warehouseLocateName;
    }

    public String getWarehouseLocateName() 
    {
        return warehouseLocateName;
    }
    public void setCellWidth(Integer cellWidth) 
    {
        this.cellWidth = cellWidth;
    }

    public Integer getCellWidth() 
    {
        return cellWidth;
    }
    public void setCellHeight(Integer cellHeight) 
    {
        this.cellHeight = cellHeight;
    }

    public Integer getCellHeight() 
    {
        return cellHeight;
    }
    public void setLayer(Integer layer) 
    {
        this.layer = layer;
    }

    public Integer getLayer() 
    {
        return layer;
    }
    public void setX1(Integer x1) 
    {
        this.x1 = x1;
    }

    public Integer getX1() 
    {
        return x1;
    }
    public void setY1(Integer y1) 
    {
        this.y1 = y1;
    }

    public Integer getY1() 
    {
        return y1;
    }
    public void setX2(Integer x2) 
    {
        this.x2 = x2;
    }

    public Integer getX2() 
    {
        return x2;
    }
    public void setY2(Integer y2) 
    {
        this.y2 = y2;
    }

    public Integer getY2() 
    {
        return y2;
    }
    public void setStroke(String stroke) 
    {
        this.stroke = stroke;
    }

    public String getStroke() 
    {
        return stroke;
    }
    public void setStrokeWidth(Integer strokeWidth) 
    {
        this.strokeWidth = strokeWidth;
    }

    public Integer getStrokeWidth() 
    {
        return strokeWidth;
    }
    public void setStrokeDasharray(String strokeDasharray) 
    {
        this.strokeDasharray = strokeDasharray;
    }

    public String getStrokeDasharray() 
    {
        return strokeDasharray;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gridId", getGridId())
            .append("parentId", getParentId())
            .append("warehouseTotalLocate", getWarehouseTotalLocate())
            .append("logisticsParkName", getLogisticsParkName())
            .append("warehouseLocateName", getWarehouseLocateName())
            .append("cellWidth", getCellWidth())
            .append("cellHeight", getCellHeight())
            .append("layer", getLayer())
            .append("x1", getX1())
            .append("y1", getY1())
            .append("x2", getX2())
            .append("y2", getY2())
            .append("stroke", getStroke())
            .append("strokeWidth", getStrokeWidth())
            .append("strokeDasharray", getStrokeDasharray())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
